package request

type RoleQs struct {
	Name     string `json:"name" form:"name" binding:"required,unique=role name" label:"名称"  unique-msg:"角色名称已存在"`
	Describe string `json:"describe" form:"describe" binding:"required" label:"描述"`
}

type RoleEditQs struct {
	Id       uint   `json:"id" form:"id" binding:"required"`
	Name     string `json:"name" form:"name" binding:"required,unique=role name Id" label:"名称" unique-msg:"角色名称已存在"`
	Describe string `json:"describe" form:"describe" binding:"required" label:"描述"`
}
